package com.ruoyi.insurance.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 威胁事件对象 threat_incident
 * 
 * @author ruoyi
 * @date 2024-09-10
 */
public class ThreatIncident extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 威胁事件ID */
    private Long threatId;

    /** 保中评测ID */
    @Excel(name = "保中评测ID")
    private Long evaluateId;

    /** 具体威胁 */
    @Excel(name = "具体威胁")
    private String concreteThreat;

    /** 是否解决 */
    @Excel(name = "是否解决")
    private Long isSolve;

    /** 解决时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "解决时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date solveDate;

    public void setThreatId(Long threatId) 
    {
        this.threatId = threatId;
    }

    public Long getThreatId() 
    {
        return threatId;
    }
    public void setEvaluateId(Long evaluateId) 
    {
        this.evaluateId = evaluateId;
    }

    public Long getEvaluateId() 
    {
        return evaluateId;
    }
    public void setConcreteThreat(String concreteThreat) 
    {
        this.concreteThreat = concreteThreat;
    }

    public String getConcreteThreat() 
    {
        return concreteThreat;
    }
    public void setIsSolve(Long isSolve) 
    {
        this.isSolve = isSolve;
    }

    public Long getIsSolve() 
    {
        return isSolve;
    }
    public void setSolveDate(Date solveDate) 
    {
        this.solveDate = solveDate;
    }

    public Date getSolveDate() 
    {
        return solveDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("threatId", getThreatId())
            .append("evaluateId", getEvaluateId())
            .append("concreteThreat", getConcreteThreat())
            .append("isSolve", getIsSolve())
            .append("solveDate", getSolveDate())
            .toString();
    }
}
